10 friend class boost::serialization::access
;
12 template<class Archive
>
13 void serialize(Archive
&ar
, const unsigned int vers
) {
24 OpeningItems(Texture
* n_args
, ...) {
27 void saveOpeningItems() {
29 file
.open("data/op.rave", std::ios::binary
| std::fstream::out
);
30 boost::archive::binary_oarchive
archive(file
);
34 static OpeningItems
loadOpeningItems() {
38 file
.open("data/op.rave", std::ios::binary
| std::fstream::in
);
40 boost::archive::binary_iarchive
archive(file
);
45 std::cout
<< "Opening items NOT FOUND";
46 oi
= new OpeningItems();
58 void configureLibrary(SDL_Renderer
* r
, SDL_Window
* w
) {
59 StartSFX
->loadFromByteArray();
60 logoEC
->loadFromByteArray(r
, w
);
61 logo2
->loadFromByteArray(r
, w
);
62 white
->loadFromByteArray(r
, w
);
67 logoEC
->clearTexture();
68 logo2
->clearTexture();
69 white
->clearTexture();